home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / sendmail / sendmail-5.65c+IDA-1.4.4.1 / binmail / Makefile.ISC < prev    next >
Encoding:
Makefile  |  1991-05-22  |  1.6 KB  |  55 lines

  1. #
  2. # Copyright (c) 1988 Regents of the University of California.
  3. # All rights reserved.
  4. #
  5. # Redistribution and use in source and binary forms are permitted
  6. # provided that the above copyright notice and this paragraph are
  7. # duplicated in all such forms and that any documentation,
  8. # advertising materials, and other materials related to such
  9. # distribution and use acknowledge that the software was developed
  10. # by the University of California, Berkeley.  The name of the
  11. # University may not be used to endorse or promote products derived
  12. # from this software without specific prior written permission.
  13. # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  14. # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
  15. # WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  16. #
  17. #    @(#)Makefile    5.5 (Berkeley) 9/20/88
  18. #
  19. CFLAGS=    -O -I. -DMH_LCK_BEL -DSYSV
  20. ALL=    dmail
  21. SRCS=    binmail.c flock.c mktemp.c mhlock.c
  22. OBJS=    binmail.o flock.o mktemp.o mhlock.o
  23. DOBJS=    dmail.o flock.o mktemp.o mhlock.o
  24. MAN=    binmail.1
  25.  
  26. all: ${ALL}
  27.  
  28. mail: ${OBJS}
  29.     ${CC} ${CFLAGS} -o $@ ${OBJS} -linet
  30.  
  31. dmail: ${DOBJS}
  32.     ${CC} ${CFLAGS} -o $@ ${DOBJS} -linet
  33.  
  34. clean:
  35.     rm -f core ${ALL} ${OBJS} 
  36.  
  37. cleandir: clean
  38.     rm -f tags .depend
  39.  
  40. depend: ${SRCS}
  41.     mkdep -p ${CFLAGS} ${SRCS}
  42.  
  43. install: ${ALL} ${MAN}
  44.     install -o -f ${DESTDIR}/bin -u root -g bin mail
  45.     chmod 4755 ${DESTDIR}/bin/mail
  46.     install -o -f ${DESTDIR}/usr/man/man1 -u bin -g bin binmail.1
  47.     (cd ${DESTDIR}/usr/man/man1; chmod 444 ${MAN})
  48. # DO NOT DELETE THIS LINE -- mkdep uses it.
  49. # DO NOT PUT ANYTHING AFTER THIS LINE, IT WILL GO AWAY.
  50.  
  51. binmail: pathnames.h
  52. flock: flock.h
  53.  
  54. # IF YOU PUT ANYTHING HERE IT WILL GO AWAY
  55.